package com.ls.modules.sys.biz.manager;

import com.ls.common.baseClass.BackStageService;
import com.ls.modules.sys.dal.jpa.dao.SysUserDao;
import com.ls.modules.sys.dal.jpa.entity.SysUserEntity;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author: xiaosu
 * @date: 2018-09-25  17:04
 */

@Service("sysUserManager")
public class SysUserManager extends BackStageService {
    @Autowired
    private SysUserDao  sysUserDao;


    /**
     * 根据用户登录名称查询实体
     * @param name
     * @return
     */
    public SysUserEntity  queryByName(String name){

        return   sysUserDao.queryByName(name);
    }



}
